package com.hwadee.ems.mapper;

import com.hwadee.ems.domain.po.ClassroomApplication;
import com.hwadee.ems.domain.vo.ClassroomApplicationVO;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 教室借用申请 Mapper 接口
 * </p>
 *
 * @author EnosElinsa
 * @since 2024/06/21
 */
public interface ClassroomApplicationMapper extends BaseMapper<ClassroomApplication> {

    List<ClassroomApplicationVO> selectPageByConditions(
        @Param("applicantId") Long applicantId, 
        @Param("applicantName") String applicantName, 
        @Param("approverName") String approverName, 
        @Param("approvalStatus") Integer approvalStatus, 
        @Param("semesterId") Long semesterId, 
        @Param("week") Integer week, 
        @Param("limit") long limit, 
        @Param("offset") long offset
    );
    
}
